Battery management system

ABSTRACT

A battery management chip which controls charging and discharging currents of a rechargeable battery. Another significant teaching of the presently preferred embodiment is a battery manager integrated circuit which includes an on-chip bandgap voltage reference. The circuitry for bandgap voltage references is conventional, and a variety of circuit configurations are very well-known, but bandgap voltage references normally have a significant power consumption. However, the precise voltage reference derived from such a circuit is extremely useful in performing precise and optimal control of battery function.

This application is a continuation of application Ser. No. 08/545,416, filed Oct. 19, 1995, which was abandoned upon the filing hereof, which is a continuation of Ser. No. 08/120,992, filed on Nov. 5, 1993, which was abandoned which is a division of Ser. No. 07/633,615, filed on Dec. 12, 1990 now abandoned.

PARTIAL WAIVER OF COPYRIGHT

All of the material in this patent application is subject to copyright protection under the copyright laws of the United States and of other countries. As of the first effective filing date of the present application, this material is protected as unpublished material Portions of the material in the specification and drawings of this patent application are also subject to protection under the maskwork registration laws of the United States and of other countries.

However, permission to copy this material is hereby granted to the extent that the owner of the copyright and maskwork rights has no objection to the facsimile reproduction by anyone of the patent document or patent disclosure, as it appears in the United States Patent and Trademark Office patent file or records, but otherwise reserves all copyright and maskwork rights whatsoever.

CROSS-REFERENCE TO OTHER APPLICATIONS

The following applications of common assignee contain at least some drawings in common with the present application, and are believed to have effective filing dates identical with that of the present application:

Ser. No. 07/633,372, filed Dec. 21, 1990, U.S. Pat. No. 5,103,156, entitled "Battery Manager Chip with Differential Temperature Sensing";

Ser. No. 07/631,719, filed Dec. 21, 1990, U.S. Pat. No. 5,168,206, entitled "Battery Manager Chip with Connections for Redundant Backup Battery";

Ser. No. 07/633,615, filed Dec. 21, 1990, abandoned, entitled "Battery Management System";

Ser. No. 07/633,614, filed Dec. 21, 1990, abandoned, entitled "Battery Manager Chip with Separate Modules for Stand Alone and Peripheral Operation"; and

Ser. No. 07/632,378, filed Dec. 21, 1990, U.S. Pat. No. 5,151,644, entitled "Battery manager Chip with Crystal-Controlled Time Base";

all of which are hereby incorporated by reference.

BACKGROUND AND SUMMARY OF THE INVENTION

The present invention relates to integrated circuits for controlling the charging and discharging of a rechargeable battery.

Many portable electronic system are powered by rechargeable batteries, typically Ni-Cd batteries. Such batteries have the advantage that they are portable, non-contaminating, relatively weight-efficient, and can be charged and discharged many times. However, Ni-Cd batteries also have some significant quirks which male optimal control difficult.

First, there is the well-known "memory" effect. If a Ni-Cd battery is repeatedly only partially discharged before recharging, the microstructure of the battery will gradually adapt, so that the battery's full capacity is no longer available.

Another non-linear effect is that total amount of energy which can be withdrawn in a discharge cycle is somewhat dependent on the rate of discharge.

A further non-linear effect is that, if the battery is completely discharged, e.g. into a dead short circuit, the microstructure of the battery will change to reduce the total

A further non-linear effect is the use of "trickle charge" currents. A battery which is already fully charged can be maintained at maximum readiness by applying a very current to the battery.¹ This phenomenon is very well known in lead acid batteries and also applies to Ni-Cd batteries.

Another perverse characteristic of Ni-Cd batteries is that the voltage of a Ni-Cd will drop at full charge. Thus, in alternative embodiments, the chip of the present invention can be configured to watch for this voltage fall-off as a charging cycle comes to an end,

These difficulties with managing rechargeable batteries have long been generally known. For large rechargeable battery installations, expensive controllers (typically costing $5,000 or more, in 1989 dollars) have been proposed by others. Such controllers attempt to monitor the discharge characteristics of a bank of batteries and control the charging current and/or charging time to maximize the available battery capacity.

In addition, the battery characteristics will also be affected greatly by temperature. For example, a rate of discharge which is not excessive at one temperature may be excessive at another temperature. All of these effects are somewhat difficult to model theoretically, but can be fitted to an empirical model with reasonable accuracy.

These battery management issues apply not only to high perforce batteries, such as Ni-Cd or other high-performance battery types but also to lead acid batteries. Lead acid batteries have a much lower cost-per-unit battery capacity (amp-hours at rated voltage) than do Ni-Cd batteries, but lead acid batteries provide a much lower mount of battery capacity per unit weight and also a much lower amount of battery capacity per unit volume. However, runny lead acid battery installations are used in contexts where weight and volume are essentially unlimited. In such cases, the designer of a lead acid battery installation can provide some additional margin for error by increasing the size of the battery banks used.

The present invention provides very sophisticated battery monitoring functions in a single integrated circuit. Thus, reliable portable electronic modules, powered by rechargeable batteries, can be configured with greatly improved battery management capabilities.

This is particularly valuable in electronic devices where sudden battery failure could cause an intolerable loss of data. One key example of this type is lap-top computers. Another important class of applications is hand-held scientific or medical instruments. Another important class of applications is in hand-held portable data collection terminals. Another important class of applications is in military and police equipment, such as portable radio transceivers. A very important class of applications is in hand-held portable tools for commercial and industrial use.

The present invention provides a battery management chip which, in the presently preferred embodiment, incorporates several novel features. Not all of the features described are necessary to the claimed invention, but the combination of all of the features described

The presently preferred embodiment of the battery chip includes an on-chip PMOS pull-up transistor, which au turn charging current to the battery on or off. (A corresponding logic output is also provided to control discrete switching transistors if desired for a larger current capability.)

One of the innovative features of the present invention is the provision of an integrated circuit with a comparator having two inputs for differential temperature-sensing base on inputs from two different sensors. Thus, one thermocouple or thermistor can be placed in close thermal contact with the casing of the battery, while the other thermistor is exposed to ambient temperature. This permits a temperature rise in the battery to be sensed. This is very useful in controlling charging characteristics. Otherwise, the rate of charging current may be excessive under a low ambient temperature and lower than necessary under high ambient temperature.

Another of the innovative features of at least one embodiment disclosed herein is that, in a portable module, the battery manager integrated circuit controls the charging and discharging of the rechargeable battery which powers the whole module, and is also connected to draw power from an external power supply and is also connected to draw very stroll mounts of current from a third stable battery, preferably a lithium battery, which is not necessarily rechargeable.

The integrated circuit of the presently preferred embodiment has also been designed to provide versatility for other analog interface or control functions in addition to battery management. For example, the two analog sensor interface circuits can be used not only for differential temperature assessing of battery temperature rise, but can also be used for inlet and outlet coolant temperature sensing and air-cooled or even liquid-cooled systems. Note that these inputs can also be used for pressure sensors, fluid level detectors, fluid flow detectors, or other sensor input interfaces.

In the presently preferred embodiment, these inputs are connected to thermistor temperature sensors. A thermistor is a temperature-dependent variable resistor, which therefore requires a biased current input to provide a voltage output. The biased current would normally be provided by an off-chip source. Alternatively, for some applications it may be preferable to provide temperature sensing from a thermal couple plus an instrumentation amplifier.

One of the key novel teachings is a battery manager integrated circuit which is configured for interface to a microprocessor. This provides system configurations to be implemented, wherein a system microprocessor can intelligently monitor battery-charged state, among other characteristics.

In particular, one characteristic of the integrated circuit of the presently preferred embodiment which gives additional versatility is its capability for automatic and manual modes. That is, the integrated circuit of the presently preferred embodiment can be configured so that it acts independently to disconnect current sourced from the battery when the battery becomes excessively low; or it can be configured to act simply as a microprocessor peripheral, so that the battery manager chip provides warnings but does not implement connection or disconnection actions.

Another significant teaching of the presently preferred embodiment is a battery manager integrated circuit which includes an on-chip bandgap voltage reference. The circuitry for bandgap voltage references is conventional; and a variety of circuit configurations are very well-known, but bandgap voltage references normally have a significant power consumption. However, the precise voltage reference derived from such a circuit is extremely useful in performing the battery control function as described below. (In alternative embodiments, the on-chip bandgap voltage reference can be replaced with expedients such as an off-chip zener diode voltage reference.)

A further novel teaching set forth in the present application is an integrated circuit which includes a crystal-controlled oscillator for precise time measurement. Crystal-controlled oscillators are normally fairly power-hungry circuits, and such circuits would not normally be used in the low-power part unless needed. However, according to this innovative teaching, the precise time integration provided by the crystal oscillator is significantly advantageous, since it permits accurate time integration to derive the present state of the battery after multiple charge and discharge cycles. In addition, in the presently preferred embodiment, a low-power crystal-controlled oscillator is used.

In the presently preferred embodiment, the battery manager integrated circuit is configured as an n-well part. The advantage of this is that the substrate is held at ground. This is advantageous in handling the multiple power input described below. The open-drain outputs used can be pulled high without abnormal problems. In particular, if the charging current supply voltage goes above the on-chip VDD voltage, as may well occur, this chip configuration will avoid any problem of junctions thereby being forward biased.

A further novel teaching disclosed herein is the integrated circuit battery manager which can predict an imminent low-battery condition without waiting until voltage measurements show that the battery is actually dying. The precise measurement capabilities of the presently preferred embodiment permit this to be achieved. In addition, the presently preferred embodiment of the battery manager chip includes two low-battery outputs. These are referred to in the text below, as the "low-battery" and "MIN-battery" status bits. These may be thought of as warning conditions and alarm conditions respectively.

A further innovative feature of the battery manager chip of the presently preferred embodiment is the capability for both on-chip and off-chip switching of both charge and discharge currents. Whenever sizable currents need to be handled, it will of course be preferable to use a discrete transistor, such as a discrete power PMOS device controlled by logic signals generated from the battery manager chip. However, in addition, in low-current applications (e.g., where the current switched is of the order of hundreds of milliamps or less), the currents needed may be within the capability of on-chip to these PMOS drivers. Another consideration is whether the voltage drop incurred by going on-chip drivers, and then off-chip again, is acceptable. The present invention provides capability for both configurations, and therefore provides additional flexibility to the end user.

Another notable feature of the presently preferred embodiment is the multiplicity of comparators provided. In the presently preferred embodiment, four comparators are provided, two single-ended and two differential The single-ended comparators, in the presently preferred embodiment, are used for the tests which generate the max-battery and min-battery signals. The differential comparators are used for temperature sensing, according to the innovative teachings set forth above, and for detection of a low-battery condition. Note that a differential comparator is not strictly necessary for detection in the low-battery condition. However, the provision of the additional differential comparator provides additional versatility for this chip to be used in applications beyond those limited to battery management, as described above.

A further notable feature of the presently preferred embodiment is that the comparators all have a one-way trip operation. That is, electrically, these comparators are combined with other circuit elements to achieve significant hysteresis. For example, when the operating conditions are just on the marlin of tripping the low-voltage detection, it would be undesirable to have the corresponding signal turning on and off intermittently. Thus, in the presently preferred embodiment, circuit hysteresis in included (e.g. by including a latch in the circuit), so that the user normally has to service the interrupt to clear the trouble signal.

In an alternative embodiment, instead of using two differential comparators as shown, one of the pins is used instead for a programmable interrupt. The programmable interrupt, in addition to the primary interrupt, can be used to program the chip for sensing a particular condition. Thus, for example, the output on a programmable interrupt can be used to drive an LED or an audible alarm, to flag some particular anticipated condition for user response.

BRIEF DESCRIPTION OF THE DRAWING

The present invention will be described with reference to the accompanying drawings, which show important sample embodiments of the invention and which are incorporated in the specification hereof by reference, wherein:

FIG. 1 shows the overall organization of the integrated circuit of the presently preferred embodiment.

FIG. 2 shows the control flow implemented by the control logic in the presently preferred embodiment of the chip of FIG. 1.

FIG. 3 shows a sample system configuration.

FIG. 4 shows the pinout of the integrated circuit of the presently preferred embodiment.

FIG. 5 shows the register structure of the integrated circuit of the presently preferred embodiment.

FIG. 6 shows the preferred bit organization of Status Register 1, in the integrated circuit of the presently preferred embodiment.

FIG. 7 shows the preferred bit organization of Status Register 2, in the integrated circuit of the presently preferred embodiment.

FIG. 8 shows the preferred bit organization of the Mode Register (Register 3), in the integrated circuit of the presently preferred embodiment.

FIG. 9 shows the preferred bit organization of the Manual Control Register (Register 4), in the integrated circuit of the presently preferred embodiment.

FIG. 10 shows the preferred bit organization of the Write Protect Register (Register 5), in the integrated circuit of the presently preferred embodiment.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

The numerous innovative teachings of the present application will be described with particular reference to the presently preferred embodiment. However, it should be understood that this class of embodiments provides only a few examples of the many advantageous uses of the innovative teachings herein. In general, statements made in the specification of the present application do not necessarily delimit any of the various inventions. Moreover, some statements may apply to some inventive features but not to others.

Preferred Chip Embodiment

FIG. 1 shows the overall organization of the preferred chip embodiment. In this embodiment, four comparators 102A-102D are provided. Note that, in the presently preferred embodiment, comparators 102A and 102C are both connected to receive double-ended (fully differential) external inputs. Comparators 102B and 102D are each connected to compare an external input to a programmable reference voltage, received from a programmable voltage source 104. The voltage source 104 includes a conventional bandgap-voltage-reference circuit, plus two switchable resistor ladders. The resistor ladders are switched, under the control of the I/O and control logic 110, to implement hysteresis in the detection characteristics.

Battery-backed memory 120 provides control and status registers. (The organization of these registers will be described in detail below.) Battery-backed memory 120 also, in the presently preferred embodiment, provides nonvolatile RAM space for user-defined data. (For example, this memory space can be used to track power history.)

An open drain NMOS pull-down driver 112 permits the control logic 110 to drive an interrupt signal IRQ\.

Logic outputs from the control logic 110 also control two large PMOS pass transistors 113 and 114. The size of these pass transistors is selected in accordance with the space available on-chip (included the area needed for low-resistance, i.e. wide, metal lines), and in accordance with the application requirements for maximum voltage drop at rated current through this path. Device 113 preferably has a net total² W/L ratio (ratio of effective width to effective length) of at least 100:1, and preferably larger. Device 114 preferably has a W/L ratio of at least 100:1, more preferably at least 300:1, and preferably much larger.

Note that a corresponding logic signal BATON\ is pulled active whenever pass transistor 113 is turned on. Note also that a corresponding logic signal CHGEN\ is pulled active whenever pas transistor 114 is turned on.

An analog oscillator circuit 130 is connected, through external pins OSC1 and OSC2, to a resonant quartz crystal (not shown) which stabilized the oscillator frequency at 32.768 kHz, in the presently preferred embodiment. The oscillator's frequency is divided down, by following stages 132, to provide a digital signal with a frequency of 1 Hz (one pulse per second). In the best mode as presently contemplated, this oscillator is essentially the same as the oscillator described in U.S. Pat. No. 4,871,982 (DSC-74), which is hereby incorporated by reference, except that the polarity is reversed (since the presently preferred embodiment is an N-well part).

When the control logic 110 receives a pulse from the timing circuit 132, it updates the timing registers in memory 120, and then tests for time-out alarms.

Note that two timers 140A and 140B are provided. It is contemplated that, in operation, one of these timers will hold a maximum time for charging operations, and the other will hold a maximum duration for discharging.³ However, it should also be noted that the provision of two stored time-out values minimizes the number of data transfer steps needed at each update cycle. It should also be noted that the provision of two stored time-out values provides the user with additional flexibility to adapt this chip to applications other than battery management.

FIG. 2 shows the control flow implemented by the control logic in the presently preferred embodiment of the chip of FIG. 1.

The contemplated best mode for implementing the control logic 110 is with an on-chip sequencer, similar to those used in the DS1286 or DS1287 chips. (These two chips contain generally similar sequencer hardware, although the program implemented is significantly different.) These chip/and the data sheet are availabe from Dallas Semiconductor, and are each hereby incorporated by reference. See also U.S. patent applications Ser. Nos. 208,889, Filed Jun. 17, 1988 (DSC-69), and Ser. No. 569,314, Filed Aug. 16, 1990 (DSC-70A), beth of which are hereby incorporated by reference. However, of course, it would alternatively be possible to simply implement the described functions in hard-wired logic.

The control logic 110 also contains conventional interface circuitry for interfacing to the 3-wire serial port (pins RST\, D/Q, and CLK).

FIG. 4 shows the pinout of the preferred chip embodiment.

PIN 1 VCHGO--(output) switched charging supply

PIN 2 CHGEN\--(output) charge enable signal, open drain

PIN 3 VBATO--(output) switched battery supply

PIN 4 BATON\--(output) battery on signal, open drain active low

PIN 5 RST\--(input) reset for serial port, active low

PIN 6 CLK--(input) dock for serial port

PIN 7 D/Q--(input/output) data I/O for serial port, open drain

PIN 8 VBAT_(BU) --(input) this is the power input for a nonrechargeable battery (preferably a small lithium battery) for data retention.

PIN 9 IRQ\--(output) interrupt request, open drain active low

PIN 10 GND--(input) ground

PIN 11 OSC1--(input) 32.768 kHz crystal input 1

PIN 12 OSC2--(input) crystal input 2

PIN 13 MINBAT--(input) comparator input signal to set minimum battery voltage trip point

PIN 14 LOBATA--(input) differential comparator input signal to detect low battery voltage

PIN 15 LOBATB--(input) differential comparator input signal to detect low battery voltage

PIN 16 MAXBAT--(input) comparator input to set maximum battery voltage trip point

PIN 17 TMPNA--(input) ambient temperature input signal

PIN 18 TMPNG--(input) battery temperature input signal

PIN 19 VBAT--(input) battery supply input

PIN 20 VCHG--(input) charge supply input 2-7 volts

FIG. 5 shows the organization of the programmable charger registers of the presently preferred embodiment. Register 0 is defined as status 1. Register 1 is defined as status 2. Register 2 is defined as mode set. Register 3 is defined as manual control. Register 4 is defined as write protect. Registers 5-7 are defined as timer 1 (three bytes). Registers 8-A are defined as timer 2 (three bytes). Registers B-D are defined as the real-time clock (RTC) in binary seconds. Registers 10-1F are defined as User NV SRAM (16 Bytes).

FIG. 6 shows the organization of Status Register 1 in the presently preferred embodiment. Bit "0" equals logic "0". Bit TF1 is the countdown timer 1 flag. Bit TF2 is the countdown timer 2 flag. (The condition specified in the figure will set these flags to a 1 and an IRQ will be generated if enabled. Bits are cleared when read.) Flag bits C1F-C4F will be set if any of the comparators change state. An IRQ will be generated if the IRQE bit is set in the mode set register. The set bits will be cleared when register is read. Bit IRQF will be set to "0" if any flag bit set in this register is set, and will be cleared when read.

FIG. 7 shows the organization of Status Register 2 in the presently preferred embodiment. The 6 high-order bits are always set to logic "0". Bits PSF1 and PSF2 are power status flags. These flags will be set whenever that unit is powered up, and an IRQ will be generated. These bits are read only bits. Any change in charge voltage or battery voltage that meet the below criteria will generate an IRQ if IRQ-enable is set. The first power up will always generate an IRQ.

    ______________________________________                                         PSF2         PSF1                                                              ______________________________________                                         0            1          = VCHG > VBAT                                          1            0          = VCHG < VBAT                                          1            1          = NO POWER                                             ______________________________________                                    

FIG. 8 shows the organization of the mode control register (Register 3) in the presently preferred embodiment. The two high-order bits are always at logic "0". Bit IRQE is the Interrupt enable bit: when this bit is set to a "1", all interrupts will be enabled. (The status register will set the flag bit that generates an interrupt.) Bit OSCE\ is set to a logic "0" to start the clock oscillator. Bit MON is set to a logic "1" to start manual operation. (If bit "AON" is set to a logic "1" bit MON is cleared.) Bit AON is the Auto-on bit, and is set to a logic "1" to start the automatic operation. If bit MON is set, bit AON will be cleared. Bits S1 and S0 are Voltage trip point set bits. These bits are used to select the desired voltage trip ratios for comparators 2 and 4, using the relation shown in the figure.

FIG. 9 shows the organization of the manual control register (Register) in the presently preferred embodiment. Bit Vchgo, when set to a "1" will switch on the Vchg input to the Vchgo output IN the auto mode, these bits will be set and reset as determined by the C1-C4 trip points and timer 1 and/or timer 2. When bit Vbato is set to a "1" Vbat input is switched to the Vbato output Note: On power up, Vchgo or Vbato will be set to a "1". This condition is determined by the first voltage input applied Bits T1E and T2E are set to a logic "1" to enable Timer 1 and/or Timer 2. Bits C4E, C3E, C2E, C1E are set to a logic "1" to enable the comparator

FIG. 10 shows the organization of the write protect register (Register 5) in the presently preferred embodiment. Bit WP is the write protect bit, and is set to logic "1" to inhibit writing to all other registers. All other bits in this register are always set to logic "0".

Sample System Configuration

FIG. 3 shows a sample system configuration provided by the innovative teachings disclosed in the present application This particular configuration is a relatively complex system, such as might be used for a handheld scientific instrument with data collection capabilities. However, of course, simpler system configurations can be used instead.

Further Modifications and Variations

It will be recognized by those skilled in the art that the innovative concepts disclosed in the present application can be applied in a wide variety of contexts. Moreover, the preferred implementation can be modified in a tremendous variety of ways. Accordingly, it should be understood that the modifications and variations suggested below and above are merely illustrative. These examples may help to show some of the scope of the inventive concepts, but these examples do not nearly exhaust the full Scope of variations in the disclosed novel concepts.

In another alternative embodiment, the charging and/or discharging currents can be pulse& For rapid charging, it is normally advantageous to give the battery occasional resting periods during the charging process.

It should also be noted that a variety of control relationships can be implemented using the chip of the presently preferred embodiment. Some of these will now be discussed:

Methods of charging:

1) Time Only--specific periods of charging at a specified rate. This method would have no feedback from the battery and the user would have to be careful not to overage and damage the battery or allow the battery to be discharged into cell reversal If the charger/monitor only has a control line to gate an external device then the rate information would not be needed for this method. The part could revert to "trickle charging" after the specified period of charging has elapsed or it could stop charging altogether.

2) Voltage only--charging the battery at a specified rate until a specified voltage condition is met. This method could be carded out three different ways:

a) absolute cutoff--when the specified voltage is met, stop charging or go to "trickle charge". This method would probably only require a comparator with programmable trip points.

b) inflection point cutoff--this occurs when the derivative of the voltage-profile slope equals 0. Practically, the decreasing value of the positive voltage slope that occurs just beyond the inflection point is used as the control parameter. This method has the advantage of allowing for the limiting of the current as the battery approaches a full state of charge since the inflection point occurs prior to the voltage peak. However, under some conditions (e.G., Attempting to fast charge a fully charged battery), the battery does not display a voltage profile suitable for this method. Once again, the charging could be stopped or switched to "trickle charge" upon detection of this condition, This method would require an a/d converter plus an interface with the micro which allows for the passing of dam for the calculation of the inflection point. C) negative delta v--this condition is based on the peak and subsequent decrease in the battery voltage at full charge. The value of negative delta v that is generally used is from 10 mv/cell to 30 mv/cell. After detecting this condition, the charging could be stopped or switched to "trickle charging". This method would require an a/d converter plus an interface with the micro which allows for the passing of data for the calculation of the slope of the voltage profile.

3) Temperature only--charging the battery at a specified rate until a specified temperature condition is met. This method am be carried out in one of two ways:

a) absolute temperature cutoff (tco)--when the absolute temperature specified is reached, stop the battery charging or switch to "trickle charging". The most commonly used settings for the absolute temperature are 40 and 45 degrees celsius. Problems associated with this method include: 1) charging the battery in a low temperature environment since it may never reach the cutoff point, 2) charging cold batteries since their temperature rise may lag the state of charge, and 3) charging hot batteries since the trip point may be reached prematurely. This method does have the advantage of only requiring one temperature sensor which is in contact with the battery.

b) incremental temperature cutoff (delta tco)--when the temperature difference between the battery and the ambient surroundings is sensed, stop the charging or switch to "trickle charging". The most commonly used settings for the temperature difference are 5 and 10 degrees celsius. The delta *tco method overcomes the problems experienced with absolute tco in cold environments and/or with cold batteries because it reacts only to change but it does not solve the problem created when a hot battery is placed in the charger. (Note: for beth temperature methods above, the requirements for the interface from the temperature sensor to the chip are not known at this time.)

4) Time and voltage charging--this is probably the simplest combination to implement and still have reasonable control and feedback from the battery. However, if inflection point cutoff or negative delta v voltage detection is used, the task becomes somewhat more complicated.

5) Time and temperature charging--this combination would be appropriate for conditions where the temperature of the batteries will not exceed the trip point of the circuit except when they are at full charge.

6) Voltage and temperature charging--these two methods in combination would probably do the job in most cases, however since the part will have a timer it seems fruitless to only use voltage and temperature.

7) Time, voltage, and temperature charging--this is obviously the best combination to use because it gives the most information about the battery. However, this translates to the most complicated charger.

As will be recognized by those skilled in the art, the innovative concepts described in the present application n be modified and varied over a tremendous range of applications, and accordingly the scope of patented subject matter is not limited by any of the specific exemplary teachings given. 

What is claimed is:
 1. A battery management system, comprising:(a) a source of charging current having an output terminal; (b) a load terminal for connecting to an electrical load; (c) first switching means configured to selectably electrically couple said output terminal of said source of charging current to first battery terminal of a battery, said first switching means configured to turn on in response to a presence of a first signal; (d) second switching means configured to selectively electrically couple said first battery terminal of said battery to said load terminal, said second switching means configured to turn on in response to a presence of a second signal; (e) detecting means electrically coupled to said battery for measuring a battery voltage and for determining whether to activate said first switching means to charge said battery; and (f) control logic circuitry electrically coupled to respond to said detecting means and configured for activating said first switching means to electrically couple said source of charging current to said first battery terminal of said battery to charge said battery by sending and maintaining said first signal and for activating said second switching means to electrically couple said first battery terminal of said battery to said load terminal of said electrical load by sending and maintaining said second signal.
 2. The battery charging system of claim 1, wherein said detecting means comprises comparator having a first comparator input, a second comparator input, and a comparator output, said first comparator input of said comparator adapted to be electrically coupled to said battery, said second comparator input of said comparator electrically coupled to a voltage source corresponding to a programmable threshold, said comparator output of said comparator electrically coupled to said control logic circuitry, said comparator determines whether said battery needs to be charged by sensing and comparing said first comparator input of said comparator to said second comparator input of said comparator.
 3. The battery charging system of claim 1, wherein said detecting means comprises at least one difference comparator adapted to be connected to said battery and compare said battery voltage with a stored voltage trip point to determine whether said battery needs to be charged.
 4. The battery charging system of claim 1, wherein said detecting means comprises at least one difference comparator for comparing a battery voltage with a programmable voltage source, said programmable voltage source corresponds to a condition selected from the group consisting of a maximum battery condition, a low battery condition, and a minimum battery condition.
 5. The battery charging system of claim 1, further comprising a memory being electrically coupled to said control logic circuitry, for recording a power history of said battery management system and of said battery, so that said detecting means can interpret said power history to determine whether or not to charge said battery.
 6. The battery charging system of claim 1, wherein said battery can be a rechargeable Ni-Cd battery.
 7. The battery charging system of claim 1, wherein said first switching means comprises a first transistor having a first gate, a first source, and a first drain, said first drain of said first transistor adapted for coupling to said first battery terminal of said battery, said first source of said first transistor electrically coupled to said output terminal of said source of charging current, said first transistor couples said output terminal of said source of charging current to said first battery terminal of said battery when said first signal is present at said first gate of said first transistor; and said second switching means comprises a second transistor having a second gate, a second source, and a second drain, said second drain of said second transistor adapted for coupling to said first battery terminal of said battery, said second source of said second transistor being electrically coupled to said load terminal when a presence of said second signal is at said second gate of said second transistor.
 8. A battery charging system, comprising:(a) a source of charging current; (b) a load terminal for connecting to an electrical load; (c) a first switch adapted to selectably electrically couple said source of charging current to a first battery terminal of a battery, said first switch configured to turn on in response to an ongoing presence of a first control signal; (d) a second switch adapted to selectively electrically couple said first battery terminal of said battery to said load terminal, said second switch configured to turn on in response to an on-going presence of a second control signal; (e) a detector adapted to be electrically coupled to said battery to determine whether or not to charge said battery; and (f) control logic circuitry electrically coupled to respond to said detector and configured to activate said first switch to electrically couple said source of charging current to said first battery terminal of said battery to charge said battery by providing said first control signal and to activate said second switch to electrically couple said first battery terminal of said battery to said load terminal by providing said second control signal.
 9. The battery charging system of claim 8, wherein said detector determines whether said battery needs to be charged by sensing a temperature of said battery.
 10. The battery charging system of claim 8, wherein said detector comprises a comparator having a first comparator input, a second comparator input, and a comparator output, said first comparator input adapted to be electrically coupled to said first battery terminal, said second comparator input electrically coupled to receive a predetermined voltage, said comparator output electrically coupled to said control logic circuitry, said comparator compares the battery voltage of said first battery to said predetermined voltage and determines whether said battery needs to be charged.
 11. The battery charging system of claim 8, wherein said battery is a rechargeable Ni-Cd battery.
 12. The battery charging system of claim 8, wherein said detector senses temperature of said battery by using a temperature sensor electrically coupled to said detector, said temperature sensor is selected from the group consisting of a thermistor and a thermal couple plus an instrumentation amplifier.
 13. The battery charging system of claim 10, wherein said predetermined voltage is programmable.
 14. The battery charging system of claim 9, wherein said detector comprises a differential comparator for comparing said temperature of said battery to a first temperature, said differential comparator having a first comparator input, a second comparator input, and a comparator output, said first comparator input electrically coupled to receive a first voltage signal corresponding to said temperature of said battery, said second comparator input electrically coupled to receive a second voltage signal corresponding to said first temperature, said comparator output electrically coupled to said control logic circuitry.
 15. The battery charging system of claim 14, wherein said first temperature corresponds to an ambient temperature.
 16. The battery charging system of claim 9, further comprising a timekeeper coupled to said detector and said control logic circuitry to record a time said battery is used and a time said battery is charged.
 17. The battery management system of claim 1, wherein said first switching means, said second switching means, said detecting means, and said control logic circuitry are integrated together into a single integrated circuit.
 18. The battery charging system of claim 8, wherein said first switch, said second switch, said detector, and said control logic circuitry are integrated together into a single integrated circuit.
 19. A battery manager, comprising:(a) a first switch configured to selectably couple a source of charging current to a first battery terminal of a rechargeable battery, said first switch configured to turn on in response to a presence of a first control signal; (b) a second switch configured to selectively couple said first battery terminal of said rechargeable battery to a load terminal of an electrical load, said second switch configured to turn on in response to a presence of a second control signal; (c) a detector coupled to determine whether or not to charge said rechargeable battery; and (d) control logic circuitry coupled to respond to said detector and configured to selectively activate said first switch to charge said rechargeable battery by providing said first control signal and to selectively activate said second switch to power said electrical load by providing said second control signal.
 20. The battery manager of claim 19, wherein said battery has a temperature and said detector determines whether said rechargeable battery needs to be charged by sensing said temperature of said rechargeable battery.
 21. The battery manager of claim 19, wherein said rechargeable battery has a voltage and said detector comprises a comparator for comparing said voltage with a predetermining voltage to determine whether said rechargeable battery needs to be charged, said comparator output electrically coupled to said control logic circuitry.
 22. The battery manager of claim 19, wherein said first switch, said second switch, said detector, and said control logic circuitry are integrated into a single integrated circuit, said single integrated circuit being packaged with said rechargeable battery in a module.
 23. The battery manager of claim 19, wherein said detector senses said temperature of said rechargeable battery by using a temperature sensor.
 24. The battery manager of claim 19, further comprising a timekeeper coupled to said detector and said control logic circuitry, said timekeeper records a time said rechargeable battery is used and a time said battery is charged, so that said detector can determine whether to charge said rechargeable battery.
 25. The battery charging system of claim 3, wherein said stored voltage trip point is programmable.
 26. A battery manager of claim 19, wherein said first switch, said second switch, said detector, and said control logic circuitry are integrated into a single integrated circuit.
 27. The battery manager of claim 23, wherein said temperature sensor is selected from the group consisting of a thermistor and a thermal couple plus an instrumentation amplifier. 